package com.dong.controller;

import com.dong.pojo.User;
import com.dong.service.UserService;
import com.dong.service.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@Controller
public class HelloController {

    @Autowired
    UserService userService;

    @RequestMapping("/")
    public String hello(){
        return "login";
    }

    @GetMapping("/index")
    public String hello1(){
        return "index";
    }



}
